package com.jn.mvvm2.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.jn.mvvm2.dao.QAndADao;
import com.jn.mvvm2.entity.QAndAEntity;

@Database(entities = {QAndAEntity.class}, version = 1, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
    public abstract QAndADao qAndADao(); // 暴露 DAO
}
